____ _ _ _ _
| _ \ ___ | |_ (_) _ __ ___ __| | (_) __ _
| |_) | / _ \ | __| | | | '_ \ / _ \ / _| | | | / _ |
| _ < | __/ | |_ | | | |_) | | __/ | (_| | | | | (_| |
|_| \_\ \___| \__| |_| | .__/ \___| \__,_| |_| \__,_|
|_|
- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b- `b
Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―Β―
GeoJSON
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
top
GeoJSON ist ein offenes Format, um geografische Daten nach der Simple-Feature-Access-Spezifikation zu reprΓ€sentieren. DafΓΌr wird die JavaScript Object Notation verwendet.
Contents
β’ Geschichte
β’ Geometrien
β’ Beispiel
β’ Siehe auch
β’ Weblinks
β’ Einzelnachweise
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Geschichte
Die Entwicklung des GeoJSON-Formats begann im MΓ€rz 2007 durch eine Gruppe von Entwicklern ΓΌber eine Mailingliste.cite-ref-2[2] Im Juni 2008 wurde die Formatspezifikation verabschiedet.
Im April 2015 grΓΌndete die Internet Engineering Task Force eine Geographic JSON working group.cite-ref-3[3] Diese verΓΆffentlichte GeoJSON als RFC 7946 im August 2016.cite-ref-rfc7946-1-1[1]
Geometrien
Zu den unterstΓΌtzten Geometrien zΓ€hlen Punkte (beispielsweise Adressen und Point of Interest), Linien (beispielsweise StraΓen und FlΓΌsse), Polygone (beispielsweise LΓ€ndergrenzen und Landnutzungen) sowie mehrteilige Typen dieser Geometrien.
| Typ | Beispiel | Beispiel |
|---|---|---|
| Point (Punkt) | | { "type" : "Point" , "coordinates" : [ 30 , 10 ] } |
| LineString (Linie) | | { "type" : "LineString" , "coordinates" : [ [ 30 , 10 ], [ 10 , 30 ], [ 40 , 40 ] ] } |
| Polygon | | { "type" : "Polygon" , "coordinates" : [ [[ 30 , 10 ], [ 40 , 40 ], [ 20 , 40 ], [ 10 , 20 ], [ 30 , 10 ]] ] } |
| Polygon | | { "type" : "Polygon" , "coordinates" : [ [[ 35 , 10 ], [ 45 , 45 ], [ 15 , 40 ], [ 10 , 20 ], [ 35 , 10 ]], [[ 20 , 30 ], [ 35 , 35 ], [ 30 , 20 ], [ 20 , 30 ]] ] } |
| Typ | Beispiel | Beispiel |
|---|---|---|
| MultiPoint | | { "type" : "MultiPoint" , "coordinates" : [ [ 10 , 40 ], [ 40 , 30 ], [ 20 , 20 ], [ 30 , 10 ] ] } |
| MultiLineString | | { "type" : "MultiLineString" , "coordinates" : [ [[ 10 , 10 ], [ 20 , 20 ], [ 10 , 40 ]], [[ 40 , 40 ], [ 30 , 30 ], [ 40 , 20 ], [ 30 , 10 ]] ] } |
| MultiPolygon | | { "type" : "MultiPolygon" , "coordinates" : [ [ [[ 30 , 20 ], [ 45 , 40 ], [ 10 , 40 ], [ 30 , 20 ]] ], [ [[ 15 , 5 ], [ 40 , 10 ], [ 10 , 20 ], [ 5 , 10 ], [ 15 , 5 ]] ] ] } |
| MultiPolygon | | { "type" : "MultiPolygon" , "coordinates" : [ [ [[ 40 , 40 ], [ 20 , 45 ], [ 45 , 30 ], [ 40 , 40 ]] ], [ [[ 20 , 35 ], [ 10 , 30 ], [ 10 , 10 ], [ 30 , 5 ], [ 45 , 20 ], [ 20 , 35 ]], [[ 30 , 20 ], [ 20 , 15 ], [ 20 , 25 ], [ 30 , 20 ]] ] ] } |
Beispiel
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": [102.0, 0.5]},
"properties": {"prop0": "value0"}
},
{ "type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[102.0, 0.0], [103.0, 1.0], [104.0, 0.0], [105.0, 1.0]
]
},
"properties": {
"prop0": "value0",
"prop1": 0.0
}
},
{ "type": "Feature",
"geometry": {
"type": "Polygon",
"coordinates": [
[ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0],
[100.0, 1.0], [100.0, 0.0] ]
]
},
"properties": {
"prop0": "value0",
"prop1": {"this": "that"}
}
}
]
}
SoftwareunterstΓΌtzung
GeoJSON wird von einer Vielzahl von freien Geoinformationssystemen und Mapping-Software unterstΓΌtzt, beispielsweise OpenLayers,cite-ref-4[4] Leaflet,cite-ref-5[5] MapLibre GL JS,cite-ref-6[6] MapServer,cite-ref-7[7] GeoServer,cite-ref-8[8] GeoDjango,cite-ref-9[9] PointPlot,cite-ref-10[10] GDAL,cite-ref-11[11] QGIS,cite-ref-12[12] und CartoDB.cite-ref-13[13] Des Weiteren kann GeoJSON in PostGIScite-ref-14[14]cite-ref-15[15] und Mapnik (Standard-Renderer von OpenStreetMap)cite-ref-16[16]cite-ref-17[17] verwendet werden, weil diese beiden Softwarepakete auf die GDAL-Bibliothek zurΓΌckgreifen.
Bing Maps, Yahoo und Google Maps verwenden/unterstΓΌtzen GeoJSON in deren Programmierschnittstellen.
GeoJSON.io ist ein interaktiver GeoJSON-Editor in Form einer Webanwendung.cite-ref-19[19]
Siehe auch
Weblinks
β’ geojson.org
β’ The GeoJSON Format Specification. geojson.org
β’ geojson.io β Werkzeug zum interaktiven Erstellen von GeoJSON-Dateien
β’ Christopher Andrews: Emerging Technology: AJAX and GeoJSON. 18. September 2007, ehemals im Original (nicht mehr online verfΓΌgbar); abgerufen am 26. Januar 2024 (englisch).@1@2Vorlage:Toter Link/www.directionsmag.com (Seite nicht mehr abrufbar. Suche in Webarchiven)
β’ GeoWebGuru: Technical Overview: GeoJSON. 16. Februar 2009, archiviert vom Original am 12. August 2016; abgerufen am 2. Juli 2023 (englisch).
Einzelnachweise
cite-note-rfc7946-11. RFC: 7946 β The GeoJSON Format. August 2016 (englisch).
cite-note-22. β March 2007 Archives by thread
cite-note-33. β Geographic JSON (geojson). In: ietf.org. Abgerufen am 12. August 2016.
cite-note-44. β GeoJSON. In: openlayers.org. Abgerufen am 12. August 2016.
cite-note-55. β Documentation β Leaflet β a JavaScript library for interactive maps. In: leafletjs.com. Abgerufen am 12. August 2016.
cite-note-66. β Sources. In: maplibre.org. Abgerufen am 14. Mai 2023.
cite-note-77. β Template-Driven Output β MapServer 7.0.1 documentation. In: mapserver.org. Abgerufen am 12. August 2016.
cite-note-88. β OGR based WFS Output Format β GeoServer 2.10.x User Manual. In: docs.geoserver.org. Abgerufen am 12. August 2016.
cite-note-99. β GeoJSON Serializer. In: docs.djangoproject.com. Abgerufen am 12. August 2016.
cite-note-1010. β PointPlot. In: ndm.io. Archiviert vom Original (nicht mehr online verfΓΌgbar) am 2. Juni 2016; abgerufen am 12. August 2016. Info: Der Archivlink wurde automatisch eingesetzt und noch nicht geprΓΌft. Bitte prΓΌfe Original- und Archivlink gemÀà Anleitung und entferne dann diesen Hinweis.@1@2Vorlage:Webachiv/IABot/www.ndm.io
cite-note-1111. β GeoJSON. In: gdal.org. Abgerufen am 12. August 2016.
cite-note-1212. β 14.1. Γffnen von Daten. In: QGIS Dokumentation docs.qgis.org. Abgerufen am 7. Juli 2022.
cite-note-1313. β CARTO Documentation β CARTO Documentation. In: developers.cartodb.com. Archiviert vom Original am 27. Juni 2014; abgerufen am 12. August 2016.
cite-note-1414. β ST_GeomFromGeoJSON. In: postgis.net. Abgerufen am 12. August 2016.
cite-note-1515. β ST_AsGeoJSON. In: postgis.net. Abgerufen am 12. August 2016.
cite-note-1717. β osmwiki:Mapnik
cite-note-1818. β Thereβs a map for that. 13. Juni 2013, abgerufen am 12. August 2016.
cite-note-1919. β geojson.io